﻿using NiceManage.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using SqlSugar;
namespace NiceManage.Common
{
    public class Log
    {
        SqlSugarClient db = DbHelper.GetInstance();
        public List<m_log> GetList()
        {
            return db.Queryable<m_log>().ToList();
        }
        public m_log GetM_LogByID(int ID)
        {
            return db.Queryable<m_log>().Where(a => a.ID == ID).First();
        }
    }
}
